import { registerAs } from '@nestjs/config';

export default registerAs('uop', () => ({
  apiUrl: process.env.UOP_API_URL,
  notifyUrl: process.env.UOP_NOTIFY_URL,
  returnUrl: process.env.UOP_RETURN_URL,
  appId: process.env.UOP_APP_ID,
  appKey: process.env.UOP_APP_KEY,
  appSecret: process.env.UOP_APP_SECRET,
  sourceCode: process.env.UOP_SOURCE_CODE,
  platformId: process.env.UOP_PLATFORM_ID,
  tid: process.env.UOP_TID,
  instMid: process.env.UOP_INST_MID,
  alipayMid: process.env.UOP_ALIPAY_MID,
  wechatMid: process.env.UOP_WECHAT_MID,
}));
